package com.es.action.heat.builder;

import com.es.action.compile.CompilerEx;

/**
 * 即时编译，部署
 *
 * @author Will
 */
public class HeatBuilder extends BaseBuilder {

    private RuntimeProduct product;

    public HeatBuilder(String path) {
        this.product = new RuntimeProduct(path);
    }

    @Override
    public String compile() {
        return CompilerEx.getInstance().compile(product.getPath());
    }

    @Override
    public String deploy() {
        // 暂未开发
        return null;
    }
}
